<?php

namespace App\Notifications;

use App\Models\AfterSalesRequest;

class AfterSalesStatusChanged extends BaseNotification
{
    public function __construct(AfterSalesRequest $afterSales)
    {
        $this->category = 'after_sales';
        $this->title = '售后进度更新';
        $this->content = "您的售后申请 #{$afterSales->id} 状态已更新为：{$afterSales->status_text}";
        $this->actionUrl = route('after-sales.show', $afterSales->id);
    }
}
